package com.lyhw.model;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.List;


/**
 * 美图的话，只要提供美图内容和作者即可，其他字段后台会自己处理
 * @author lyp
 *
 */
public class BeautyPic implements Serializable {
	
	private String id;											//美图id
	private String content;								//美图内容，一段话
	private String pic;										//美图路径
	private String author;									//美图作者
	private long crtime;									//创作时间
	private List<Label> labelList;					//美图的标签
	private List<Comment> commList;			//评论列表
	
	private int rank;													//排名
	private int collect;												//收藏量
	private int share;												//分享量
	private int praise;												//点赞量

    public BeautyPic(String content, String author, List<Label> labelList) {
        this.content = content;
        this.author = author;
        this.labelList = labelList;
    }

    public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getPic() {
		return pic;
	}
	public void setPic(String pic) {
		this.pic = pic;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
    public long getCrtime() { return crtime;}
    public int getRank() {
		return rank;
	}
	public void setRank(int rank) {
		this.rank = rank;
	}
	public int getCollect() {
		return collect;
	}
	public void setCollect(int collect) {
		this.collect = collect;
	}
	public int getShare() {
		return share;
	}
	public void setShare(int share) {
		this.share = share;
	}
	public int getPraise() {
		return praise;
	}
	public void setPraise(int praise) {
		this.praise = praise;
	}
	public List<Label> getLabelList() {
		return labelList;
	}
	public void setLabelList(List<Label> labelList) {
		this.labelList = labelList;
	}
	public void setCrtime(long crtime) {
		this.crtime = crtime;
	}
	public List<Comment> getCommList() {
		return commList;
	}
	public void setCommList(List<Comment> commList) {
		this.commList = commList;
	}
}
